package com.two.service.businessman.openFeign;

import com.two.common.util.CommonResult;
import com.two.common.vo.RestaurantVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

@FeignClient(value = "two-orderSystem-service-user")
public interface UserOpenFeign {
    @PostMapping("api/user/user/updateRidAndRoleid")
    public Integer updateRidAndRoleid(@RequestParam Integer rid, @RequestParam Integer userid);
}
